<%@ Page Language="C#" AutoEventWireup="true" CodeFile="person.aspx.cs" Inherits="Views_Grurrah_person" MasterPageFile="~/Views/layouts/default_w_sidebar.master" %>
<%@ Register Assembly="Gaia.WebWidgets" Namespace="Gaia.WebWidgets" TagPrefix="gaia" %>
<%@ Import Namespace="Grr.Models" %>

<asp:Content ContentPlaceHolderID="TitleType" runat="server">Person:</asp:Content>
<asp:Content ContentPlaceHolderID="TitleText" runat="server"><%= Person %></asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <div id="created-container" class="explore-container">
        <h2>Grurrahs <%=Person %> has created</h2>
        <gaia:Panel ID="CreatedPanel" Visible="true" runat="server">
            <ol start="<%= CurrentCreatedResultsIndex + 1 %>">
                <% foreach (SearchMatch result in Created.Matches) {  %>
                    <li>
                        <a href="<%= ResolveUrl (result.Url) %>"><%= result.Title %></a>:
                        <%= result.Description %>
                    </li>
                <% } %>
            </ol>
        </gaia:Panel>
        <div class="results-paging-buttons">
            <gaia:LinkButton ID="CreatedPrevButton" Visible="false" Text="[Prev]" runat="server" OnClick="CreatedPrevButton_Click"></gaia:LinkButton>
            <gaia:LinkButton ID="CreatedNextButton" Visible="false" Text="[Next]" runat="server" OnClick="CreatedNextButton_Click"></gaia:LinkButton>
        </div>
    </div>
</asp:Content>

